package com.ssm.serviceimp;

import com.ssm.dao.IOrder_bookDao;
import com.ssm.model.Order_book;
import com.ssm.service.Order_bookService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("order_bookService")
public class Order_bookServiceImp implements Order_bookService {

    @Autowired
    IOrder_bookDao order_bookDao;

    @Override
    public List<Order_book> selectAllOrder_book()
    {
        return order_bookDao.selectAllOrder_book();
    }

    @Override
    public void addOrder_book(Order_book order_book)
    {
        order_bookDao.addOrder_book(order_book);
    }
}
